package com.hsy.raffle.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 抽奖表(Raffle)表实体类
 *
 * @author makejava
 * @since 2023-05-08 16:00:22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_raffle")
public class Raffle  {
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    private Integer uid;
    
    private String reward;
    
    private Integer status;
    
    private Date ctime;

    public Raffle(Integer uid, String reward, Integer status, Date ctime) {
        this.uid = uid;
        this.reward = reward;
        this.status = status;
        this.ctime = ctime;
    }
}

